authenticate

open override fun authenticate(email: String, password: String, onResult: (Throwable?) -> Unit)

Authenticate a user with their email and password. This logs the user into their account.

Parameters

email

The email address of the user.

password

The password to associate with the account.

onResult

The callback function to handle the result of authentication.